package com.ruoyi.points.service;

import java.util.List;
import com.ruoyi.points.domain.VideoPoints;

/**
 * pointsService接口
 * 
 * @author ruoyi
 * @date 2025-05-10
 */
public interface IVideoPointsService 
{
    /**
     * 查询points
     * 
     * @param userId points主键
     * @return points
     */
    public VideoPoints selectVideoPointsByUserId(Long userId);

    public VideoPoints selectVideoPointsByUserName(String userName);

    /**
     * 查询points列表
     * 
     * @param videoPoints points
     * @return points集合
     */
    public List<VideoPoints> selectVideoPointsList(VideoPoints videoPoints);

    /**
     * 新增points
     * 
     * @param videoPoints points
     * @return 结果
     */
    public int insertVideoPoints(VideoPoints videoPoints);

    int addPoint(VideoPoints videoPoints);

    int addPoint(VideoPoints videoPoints, String message);

    /**
     * 修改points
     * 
     * @param videoPoints points
     * @return 结果
     */
    public int updateVideoPoints(VideoPoints videoPoints);

    /**
     * 批量删除points
     * 
     * @param userIds 需要删除的points主键集合
     * @return 结果
     */
    public int deleteVideoPointsByUserIds(Long[] userIds);

    /**
     * 删除points信息
     * 
     * @param userId points主键
     * @return 结果
     */
    public int deleteVideoPointsByUserId(Long userId);

    public int changPoint(Long userId, Long points, String notes);

    public int changPoint(VideoPoints videoPoints, Long points, String notes);
}
